Piwik\DataAccess\Model C

Total Complexity 118
Dependencies 21
Dependents 10
Total lines 968
Lines of code 636
Logical lines of code 368
Comment lines 123
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
updateArchiveAsInvalidated()
C
29 27 123
getInvalidatedArchiveIdsSafeToDelete()
A
45 10 43
startArchive()
S
47 5 38
updateRangeArchiveAsInvalidated()
S
50 5 27
createArchiveTable()
S
55 5 20
hasInvalidationForPeriodAndName()
S
54 4 23
getArchiveIdsForSegments()
S
57 4 17
allocateNewArchiveId()
S
58 4 16
getDeletedSegmentWhereClause()
S
56 4 16
getNextInvalidatedArchive()
S
54 3 22
deleteArchivesWithPeriod()
S
55 3 19
getArchiveIdsForDeletedSites()
S
55 3 19
hasChildArchivesInPeriod()
S
55 3 18
deleteOlderArchives()
S
56 3 16
getArchiveIdAndVisits()
S
52 2 27
isSimilarArchiveInProgress()
S
55 2 20
isArchiveAlreadyInProgress()
S
56 2 18
deleteArchiveIds()
S
57 2 17
getRemoveInvalidationsIdSitesClause()
S
64 3 9
getExistingInvalidations()
S
57 2 15
isCutOffGroupConcatResult()
S
73 2 4
__construct()
S
79 2 3
getNameCondition()
S
64 2 9
getSitesWithInvalidatedArchive()
S
65 2 9
resetFailedArchivingJobs()
S
62 1 11
insertRecord()
S
63 1 10
deleteInvalidations()
S
67 1 7
removeInvalidationsLike()
S
68 1 6
removeInvalidations()
S
68 1 6
updateArchiveStatus()
S
73 1 5
getInstalledArchiveTables()
S
71 1 5
getTemporaryArchivesOlderThan()
S
67 1 8
deleteInvalidationsForSites()
S
69 1 6
deleteInvalidationsForDeletedSites()
S
70 1 6
makeExistingInvalidationArrayKey()
S
77 1 3
releaseInProgressInvalidation()
S
71 1 5
getPlaceholderArchiveIds()
S
70 1 6
getHashFromDoneFlag()
S
74 1 4